
def columnsplit(columns):
    columns = [map(lambda s: s.split(), row.split('|')) for row in columns.split('\n') if row]
    return [tuple(column) for column in columns]
